import http from '@/utils/request'

const API_PREFIX = '/web/reports'

export const fetchTag = params => http.get(`${API_PREFIX}/sys/tagResource/select`, { params })
export const  deleteTag = params => http.delete(`${API_PREFIX}/sys/tagResource/label/delete?id=${params.id}`)
export const editTag = params => http.put(`${API_PREFIX}/sys/tagResource/label/update`,  params)
